
   <form class="checkoutform" action="{:U('update')}" method="post">
      
      
      
      <input type="hidden" name="id" value="{$info.id}">
      
  
     <div class="form-group">
      <label class="control-label">分类名称</label>
      
         <input class="form-control" datatype="*" value="{$info.title}" name="title" type="text" placeholder="分类名称">
      
   </div>
      

    
      
   

   

   
   
   
   
      <div class="form-group">
      <label class="control-label">图片</label>
      
         <input name="img_url" type="hidden" value="{$info.img_url}" /><img onclick="showImgBox(this);" 

src="<notempty name="info['img_url']">{:getThumbPath($info['img_url'])}

<else/>__PUBLIC__/Admin/images/defaultimg.png</notempty>" id="img_url" height="40" />
      
   </div>
      <div class="form-group">
      <label class="control-label">父级</label>
      
         <select class="form-control" name="pid" id="pid">
          <option value="">请选择</option>
          <volist name="pid_list" id="vo">
            <option <eq name="vo['id']" value="$info['pid']">selected="selected"</eq> value="{$vo.id}">{$vo.title}</option>
            <volist name="vo['sub']" id="svo">
               <option <eq name="svo['id']" value="$info['pid']">selected="selected"</eq> value="{$svo.id}">{:getdeepstr($svo['deep'])}{$svo.title}</option>
            </volist>
          </volist>
        </select>
      
   </div>
   

   
      
      
      
 
    </form>